<template>
  <div class="recommend">
<!--    <h2 v-for="item in lists">{{item.title}}</h2>-->
    <div class="recommend-item" v-for="item in lists">
      <img :src="'http://'+item.src" alt="">
      <div>{{item.title}}</div>
    </div>
  </div>

</template>

<script>

export default {
  name: "RecommendList",
  data(){
    return {
    }
  },
  components: {
  },
  props: {
    lists: {
      type: Array,
      default(){
        return [];
      }
    },
    goodsList: {
      type: Array,
      default() {
        return [];
      }
    }
  },
  created() {

  }
}
</script>

<style scoped>
.recommend{
  width: 100%;
  font-size: 0.6rem;
  text-align: center;
  border-bottom: 10px solid #EEEEEE;
}
.recommend-item{
  display: inline-block;
  width: 20%;
  padding: 10px 0 5px 0;
}
.recommend-item img{
  width: 40px;
  height: 40px;
}
.recommend-item div{
  margin-top: 5px;
}
</style>
